<? include("functions.php");?>

<HTML>
<HEAD>
    <TITLE>gawdi: you're a rebel, a word rebel </TITLE>
    <meta http-equiv="keywords" content="burmese slangs, myanmar slangs, ban sagar, slang, lingo, gawdi, define, view, browse, search">
	<meta http-equiv="description" content="gawdi lets you define, view, and search burmese (myanmar) slangs with example usages.">


<link rel="stylesheet" type="text/css" href="default.css">
<script language="JavaScript" src="javascript_functions.js"></script>


<meta name="verify-v1" content="dJF0i3O9KMJI1g696oR8TohRw96iXA8RtQqWwtuolC4=" />
</HEAD>
<BODY bgcolor="999966" onLoad="document.search.textbox.focus()">




<TABLE BORDER="0" CELLPADDING=0 CELLSPACING=0 width="683" align="center">


<TR><TD valign="top" colspan="5"><img src="images/title-gawdi.gif" border=0 width="683" height="71"></TD></TR>



<TR><TD valign="top" colspan="5">

<P><BR>
<!-- MENU -->


<? print_main_menu(); 




?>


</TD></TR>





<TR><TD valign="top">


<P><BR>
<P><BR>
<!-- LEFT COL -->



<?

$number_of_pics = 7;

$rnd = rand(1,$number_of_pics);

$pic = "\"images/$rnd" . ".gif\" ";

//echo $pic;
// "images/2.gif" 
// <? echo $pic; 

?>




<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width="242">

<TR>
<TD colspan="3"><img src= <? echo $pic; ?> border=0 width="242" height="307"></TD></TR>

<TR>
<TD background="images/dark_left.gif" width="23"><img src="images/space.gif" border=0 width="17" height="1"></TD>

<TD bgcolor="666633">
<img src="images/space.gif" border=0 width="202" height="1"><BR>

<!-- 
<P class="headerlightb">pum;vHk;olykef</p>

<P class="textlightb">oif[m olykefwpfa,mufyg/ tbd"gefawGukd ykefuefcJhw,f/ o"gawGukd awmfvSefcJhw,f/ cufqpfawGukd vGifhypf 0gusawGukd eif;acsjyD; owfyHKawGukd 7dkufcsdK;cJhw,f/ 
jzpfedkifr,fqkd7if oifajymif;vJcJhwJh pum;vHK;awG 'grSr[kwf jum;zl;cJhwJh a*:'kdifawGukd 'Dae7mrSm trSwfw7 <a class=bur href="add.php?key_pref=bglish&edit=0">odrf;xm;</a> cJhygvm;? aus;yJ/

</p>
 -->
 
 
<img src="images/statement.gif" border=0 width="200" >



</TD>

<TD background="images/dark_right.gif" width="17"><img src="images/space.gif" border=0 width="16" height="1"></TD>

</TR>


<TR>
<TD colspan="3"><img src="images/dark_bott.gif" border=0 width="242" height="24"></TD></TR>


</TABLE>





<!-- END LEFT COL -->






</td>

<td><img src="images/space.gif" border=0 width="17" height="1"></td>

<TD valign=top width=200 style="word-wrap:break-word;" >

<img src="images/space.gif" border=0 width="200" height="1"><BR>
<!-- START CENTER COLUMN -->




<P><BR>
<P><BR>
<?

//we want to always show the definition of "gawdi" in burmese, on top of random slangs
//we'll show the "gawdi" with the highest voteup
// if there's no "gawdi" in db, we'll show hard coded definition of gawdi

$word = "a*:'kdif";
$word = htmlspecialchars($word, ENT_QUOTES);
$gawdi = select_from_burmese($word); // order by voteup
$row = mysql_fetch_array($gawdi);

//echo isPresent_gaw($word,"bur");
//if($row==NULL)
if(!isPresent_gaw($word,"bur"))
{
	//echo "empty set for gawdi; print hard coded def";
	
	//echo "<a class=\"randomb\" href='add.php?key_pref=bur&edit=2&word=$word'>";
			//echo $word;
		//	echo "</a>";
			
	echo "<P class=\"headerb\">$word</p>";
	echo "

		<P class=\"textdark2b\">
		1? brf;pum;7Jh brf;pum;? <br>
		2? a*:vDawGajymaompum;;?
		<br></P>
		
		<P class=\"textlightb\">
		apmfav;u a*:vDrav;yJ? a*:'dkifawGcsnf; vTwfjyoGm;wm/
		<br></P>


		";
}
else
{
	//$row = mysql_fetch_array($gawdi);
	//echo "not an empty set; print the one with highest vote";
	//echo $row['voteup'];
	
			$result = $row['slangBurmese'];
			$result = htmlspecialchars($result,ENT_QUOTES);
			echo "<a class=\"randomb\" href='search.php?slang=$result&key_pref=bur&vote_flow=0'>";
			echo $result;
			echo "</a>";
	
	

			echo "<P class=\"textdark2b\">";
			echo $row['definitionBurmese'] ;
			echo "<br></p>";
			echo "<P class=\"textlightb\">";
			echo $row['exampleBurmese'] ;
			echo "<br></p>";
}

?>


<? 

// print n random slangs; n is defined in get_random_ids()
$random = get_random_ids();

print_random_slangs($random);


?>


<BR><a class="light" href="index.php">I want more random slangs</a></p> 



<!-- END CENTER COLUMN -->




</td>


<td><img src="images/space.gif" border=0 width="17" height="1"></td>




<TD valign=top>





<!-- START RIGHT COLUMN TOP -->





<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width="208">

<TR>
<TD colspan="3"><img src="images/star.gif" border=0 width="208" height="175"></TD></TR>

<TR>
<TD background="images/star_left.gif" width="17"><img src="images/space.gif" border=0 width="17" height="1"></TD>

<TD bgcolor="CC3300" align=center>
<img src="images/space.gif" border=0 width="176" height="1"><BR>
<p class="whitetext">You'll need WinInwwa Font
<BR><a href="http://www.myanmars.net/winmyanmar/">Download WinInnwa</a></p>


<? print_search_box("bglish"); //search box on index page is defaulted to bglish?>



</TD>

<TD background="images/star_right.gif" width="17"><img src="images/space.gif" border=0 width="17" height="1"></TD>

</TR>


<TR>
<TD colspan="3"><img src="images/star_bott.gif" border=0 width="208" height="22"></TD></TR>


</TABLE>


<!-- END RIGHT COLUMN TOP -->






<P><BR>



<!-- START RIGHT COLUMN BOTTOM -->



<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width="208">

<TR>
<TD colspan="3"><img src="images/light_top.gif" border=0 width="208" height="27"></TD></TR>

<TR>
<TD background="images/light_left.gif" width="17"><img src="images/space.gif" border=0 width="17" height="1"></TD>

<TD bgcolor="CCCC99">
<img src="images/space.gif" border=0 width="176" height="1"><BR>
<P class="textdark">Aight check it.. ladies, gentlemen, dudes, dudettes, players,playettes n all the peeps of this planet earth...

<br><br>
  ...this website contains user generated burmese slangs...so..some words might be way too funky for ya..<br><br>


Don't tell us we didn't warn you!Cool?</p>







</TD>

<TD background="images/light_right.gif" width="17"><img src="images/space.gif" border=0 width="17" height="1"></TD>

</TR>


<TR>
<TD colspan="3"><img src="images/light_bott.gif" border=0 width="208" height="22"></TD></TR>


</TABLE>




<!-- END RIGHT COLUMN BOTTOM -->








</td>
</tr>






<tr><td colspan="5" align=center>


<P><BR><!-- Copyright -->

<p class="textlight">gollystarz &copy; 2006</p>
<P><BR>



</td></tr>




</table>






<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1322223-1";
urchinTracker();
</script>


</BODY>
</HTML>
